function setFontColor()
{
    var fontColor = document.getElementById('fontColorSetter').value;
    var textArea = document.getElementById('text-content');
    textArea.style.color = fontColor;
}

function setBackgroundColor()
{
    var backgroundColor = document.getElementById('backgroundColorSetter').value;
    var textArea = document.getElementById('text-content');
    textArea.style.backgroundColor = backgroundColor;
}